#ifndef QADDCATEGORYDIALOG_H
#define QADDCATEGORYDIALOG_H
#include <QtGui>
#include <QtSql>

class QAddCategoryDialog: public QDialog
{
    Q_OBJECT

public:
    QAddCategoryDialog(QWidget *parent = 0);
    ~QAddCategoryDialog();

public slots:
    void saveCategorySlot();

private:
    QLabel *mNameLabel;
    QLineEdit *mName;
    QPushButton *mSaveButton;
    QPushButton *mCancelButton;

    void initWidget();
    void initConnect();
};

#endif // QADDCATEGORYDIALOG_H
